﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp7
{
    public static class Sun
    {
        public static event EventHandler OnRise;
        public static void Rise()
        {
            Console.WriteLine("太阳从东方升起...");
            if(OnRise!=null)
            {
                OnRise(null, null);
            }
        }
    }
}
